<!DOCTYPE html>
<html lang="zh">
<head>
    <title>商户中心</title>
    <{include file="merchant/public/header"}>
    <{include file="merchant/public/data_tables_css"}>

</head>
<body class="hold-transition sidebar-mini layout-fixed">
<!-- Site wrapper -->
<div class="wrapper">
    <!-- Navbar -->
    <{include file="merchant/public/navbar"}>
    <!-- /.navbar -->

    <!-- Main Sidebar Container -->
    <!--左侧菜单-->
    <{include file="merchant/public/sidebar"}>

    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1></h1>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="<{:url('/plugin/merchant.index/index')}>">首页</a></li>
                            <li class="breadcrumb-item active">货款账户</li>
                        </ol>
                    </div>
                </div>
            </div><!-- /.container-fluid -->
        </section>
        <section class="content">
            <div class="container-fluid">
                <div class="card">
                    <div class="card-body">
                        <table id="my_table" class="table table-bordered table-striped">
                            <thead>
                            <tr>
                                <th>类型</th>
                                <th>余额</th>
                                <th>说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            <{if !empty($data)}>
                            <{foreach $data as $item}>
                            <tr>

                                <td>
                                   <{$item.name}>
                                </td>
                                <td>
                                    <{$item.num}>
                                </td>
                                <td>
                                    <{$item.desc}>
                                </td>
                            </tr>
                            <{/foreach}>
                            <{/if}>



                            </tbody>
                            <tfoot>


                            </tfoot>
                        </table>
                    </div>

                </div>
            </div>



        </section>

    </div>


</div>
<!-- ./wrapper -->

<{include file="merchant/public/footer"}>
<!-- DataTables  & Plugins -->
<{include file="merchant/public/data_tables"}>

<script>
    $(function () {
        $(".to-apply").on('click',function () {
            location.href = "<{:url('withdraw_apply')}>"
        })
    })
</script>
</body>
</html>
